TerrainControl

TerrainControl peripheral interface.

This peripheral allows to forward terrain information to the remote drone.

This peripheral can be obtained from a drone using: drone.getPeripheral(TerrainControl::class.java)

See also

Drone.getPeripheral

Functions

Link copied to clipboard
abstract fun sendTerrainAltitude(altitude: Double, latitude: Double, longitude: Double)

Forwards altitude above mean sea level (AMSL) of the terrain at the location specified by the given coordinates.